<li class="widget">
	<h2>Kategori</h2>
	<ul>
	<?php
		$sql = "select id, kategori from cl_kategori";
		$res = $this ->db->query($sql)->result_array();
		foreach($res as $key => $value){
	?>
		<li><a onclick="get_dataproduk('kat_<?=$value['id']?>')" href="#" title="<?=$value['kategori'];?>"><?=$value['kategori'];?></a></li>
	<?php
		}
	?>
	</ul>
</li>
